package com.groupsix.service;

import com.groupsix.entity.Dormitoryinfo;
import com.groupsix.utils.PageInfo;

import java.util.List;

/**
 * @author 董盛昌
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: 宿舍信息接口
 * @date 2021/10/18 0:10
 */
public interface DormitoryinfoService {
    //分页查询
    public PageInfo findPageInfo(String aName, Integer sDormitoryid, String dDormbuilding, Integer pageIndex, Integer pageSize);

    public int addDormitoryinfo(Dormitoryinfo dormitoryinfo);    //添加宿舍信息
    public int deleteDormitoryinfo(Integer dId);   //删除宿舍信息
    public int updateDormitoryinfo(Dormitoryinfo dormitoryinfo); //修改宿舍信息
    public Dormitoryinfo findDormitoryinfoById(Integer dId);

    public List<Dormitoryinfo> findDormitoryinfoStudent(Dormitoryinfo dormitoryinfo);//查询宿舍人员信息
    public List<Dormitoryinfo> getAll();



}
